﻿using BCCommon.TMS.Transport;
using BCDto.TMS.Driver;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.Order
{
    public class OrderChangeWeightRequestDto
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        [Display(Name = "订单编号")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public string OrderNo { get; set; }

        /// <summary>
        /// 重量。
        /// </summary>
        [Display(Name = "重量")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public int Weight { get; set; }

        /// <summary>
        /// 长。
        /// </summary>
        [Display(Name = "长")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public decimal Length { get; set; }

        /// <summary>
        /// 宽。
        /// </summary>
        [Display(Name = "宽")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public decimal Width { get; set; }

        /// <summary>
        /// 高。
        /// </summary>
        [Display(Name = "高")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public decimal Height { get; set; }

        /// <summary>
        /// 负重司机信息
        /// </summary>
        [Display(Name = "负重司机信息")]
        [Required(ErrorMessage = "{0} 不能为空")]
        public DriverDto Driver { get; set; }

        /// <summary>
        /// 车辆套餐业务类型
        /// </summary>
        [Display(Name = "车辆套餐业务类型")]
        public VehicleSuiteBusinessType? SuiteBusinessType { get; set; }
    }
}
